package com.qf.sys.po;

/**
 * @创建人 sunsir Email:sunsir163@163.com
 * @创建时间 2022/5/6
 * @描述
 */
public class Module {//              数据库列名
    private Integer id;        //序号        ->id
    private String mName;      //模块名      ->mName
    private String url;        //跳转路径    ->url
    private Integer status=1;    //状态       ->status
    private Module pModule;    //父模块     ->pid

    //get set 构造器方法

    public Module() {
    }

    public Module(String mName, String url, Integer status, Module pModule) {
        this.mName = mName;
        this.url = url;
        this.status = status;
        this.pModule = pModule;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Module getpModule() {
        return pModule;
    }

    public void setpModule(Module pModule) {
        this.pModule = pModule;
    }

    @Override
    public String toString() {
        return "Module{" +
                "id=" + id +
                ", mName='" + mName + '\'' +
                ", url='" + url + '\'' +
                ", status=" + status +
                ", pModule=" + pModule +
                '}';
    }
}
